package ute.mvc.util;

public class PasswordUtil {

	public static String hashPassword(String password){
		return MD5Util.hashPassword(password);
	}
	
	public static String getNewPassword(){
		String pass="";
		for(int i = 0; i< 32; i++){
			int charInt = (int) (Math.random() * 10) + 48;
			pass = pass + Character.toString((char)charInt);
		}
		return pass;
	}
}
